package com.ruoyi.system.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

public class FirstAidDto {

    @Data
    @ApiModel("FirstAidDto - Insert")
    public static class Insert{
        @ApiModelProperty("人口学信息")
        private PatientInfo patientInfo;
        @ApiModelProperty("急诊信息")
        private List<RecordInfo> jznfo;
        @ApiModelProperty("溶栓记录")
        private List<RecordInfo> thrombolysis;
        @ApiModelProperty("介入记录")
        private List<RecordInfo> jrInfo;

        @Data
        public static class PatientInfo{
            @ApiModelProperty("姓名")
            private String name;
            @ApiModelProperty("身份证号")
            private String idcard;
            @ApiModelProperty("民族")
            private String nation;
            @ApiModelProperty("住院年龄")
            private String age;
            @ApiModelProperty("身高")
            private String height;
            @ApiModelProperty("体重")
            private String weight;
        }


        @Data
        public static class RecordInfo{
            @ApiModelProperty("CODE")
            private String code;
            @ApiModelProperty("值")
            private String value;
            @ApiModelProperty("发生时间")
            private String time;
            @ApiModelProperty("来源")
            private String source;
        }
    }

    @Data
    public static class InsertList{
        private List<Insert> list;
    }

}

